stream = open(r"i:/xx.txt")
print(stream.readable())
'''
# read
content = stream.read()
'''

'''
# readline()
while True:
    line = stream.readline()
    if not line:
        break
    print(line)
'''
lines = stream.readlines()
print(lines)
for line in lines:
    print(line)
stream.close()
